#ifndef COMMON_H
#define COMMON_H

//#include "objobject.h"
#include "objectmanager.h"
#include "texturemanager.h"

//#define DEBUG
#define SHOW_INFO

#ifdef DEBUG
 #define LOG(x) std::cout << x << std::endl; 
#else
 #define LOG(x) ;
#endif

#define ERROR(x) std::cerr << "ERROR: " << x << std::endl;

#ifdef SHOW_INFO
 #define INFO(x) std::cout << "INFO: " <<  x << std::endl; 
#else
 #define INFO(x) ;
#endif

//obj file modes
//v & vt & vn
#define MODE_ALL 0

//v & vn
#define MODE_NO_VT 1

//v & vt
#define MODE_NO_VN 2

//v
#define MODE_ONLY_V 3

//maximum number of OBJobjects in a OBJanim
#define MAX_OBJANIM_NUM 50


//declaration of variable
extern TextureManager *myTextureManager;
extern ObjectManager *myObjectManager;
//extern OBJLoader *mainOBJLoader;

#endif
